@import './constant.less';
/* 通用 */
* {
    transition: all 0.3s;
}
/* 主窗口 */
.jsb-window {
    position: fixed;
    z-index: 2147483647;
    top: 100px;
    right: -40px;
    width: 60px;
    height: auto;
    &:hover {
        right: 0;
        .jsb-btn,
        .function-btn {
            opacity: 1;
            &:hover {
                transform: rotate(360deg);
            }
        }
        .function-btn {
            width: 35px;
            height: 35px;
            margin-top: 5px;
        }
    }
}
/* 主按钮 */
.jsb-btn {
    width: 50px;
    height: 50px;
    margin: auto;
    margin-bottom: 5px;
    border: 3px solid @disabled-color;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    opacity: 0.5;
    background-size: contain !important;
}
/* 功能按钮 */
.function-btn {
    width: 0px;
    height: 0px;
    margin: auto;
    margin-top: -15px;
    border: 2px solid @disabled-color;
    border-radius: 35px;
    cursor: pointer;
    outline: none;
    opacity: 0;
    background-size: contain !important;
}
/* 元素启用状态 */
.state-enabled {
    border-color: @enabled-color;
}
/* 元素关闭状态 */
.state-disabled {
    border-color: @disabled-color;
    filter: grayscale(100%);
}
/* 元素半启用状态 */
.state-half-enabled {
    border-color: @main-color;
}
